import turtle
def draw():
    try:
        turtle.bgcolor("black")
        s = eval(input("input 2-7 num\n"))
        colors = ["red","green","blue","yellow","orange","white","pink"]
        for x in range(150):
            turtle.pencolor(colors[x%s])
            turtle.forward(x*3/s+x)
            turtle.left(360/s+1)
            turtle.width(x*s/200)
        ts = turtle.getscreen()
    except Exception as e:
        print('???????????????????')
    finally:
        print('ok!')
if __name__ == "__main__":
    draw()